package com.joysuch.wwyt.patrol.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.joysuch.wwyt.patrol.entity.bean.PatrolCheckSearchBean;
import com.joysuch.wwyt.patrol.entity.bean.PatrolDailySearchBean;
import com.joysuch.wwyt.patrol.entity.bean.StatPlanTitleSearchBean;
import com.joysuch.wwyt.patrol.entity.bean.StatTrendSearchBean;
import com.joysuch.wwyt.patrol.entity.dto.PatrolCheckReportDto;
import com.joysuch.wwyt.patrol.entity.dto.StatPlanTitleDto;
import com.joysuch.wwyt.patrol.entity.vo.PatrolCheckReportVo;
import com.joysuch.wwyt.patrol.entity.vo.PatrolDailyReportVo;
import com.joysuch.wwyt.patrol.entity.vo.StatTrendBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface PatrolStatisticsService {

    PatrolDailyReportVo dailyReportPage(PatrolDailySearchBean searchBean);

    void exportDailyReport(PatrolDailySearchBean searchBean, HttpServletRequest request, HttpServletResponse
            response) throws IOException;

    Page<PatrolCheckReportDto> checkReportPlanStat(PatrolCheckSearchBean searchBean);

    PatrolCheckReportVo planDetail(StatPlanTitleSearchBean searchBean);

    Page<StatPlanTitleDto> getPlanTitle(StatPlanTitleSearchBean searchBean);

    StatTrendBean getTrend(StatTrendSearchBean searchBean);
}
